[INFO] cloning repository https://github.com/museun/keypress
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/museun/keypress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb9f2b06f2945c0785a3e557c0deed5a74dffda2
[INFO] building museun/keypress against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/museun/keypress on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/museun/keypress
[INFO] finished tweaking git repo https://github.com/museun/keypress
[INFO] tweaked toml for git repo https://github.com/museun/keypress written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/museun/keypress already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tungstenite v0.6.0
[INFO] [stderr]   Downloaded utf-8 v0.7.4
[INFO] [stderr]   Downloaded pkg-config v0.3.13
[INFO] [stderr]   Downloaded digest v0.7.5
[INFO] [stderr]   Downloaded cc v1.0.18
[INFO] [stderr]   Downloaded openssl-sys v0.9.35
[INFO] [stderr]   Downloaded openssl v0.10.11
[INFO] [stderr]   Downloaded bytes v0.4.9
[INFO] [stderr]   Downloaded syn v0.14.7
[INFO] [stderr]   Downloaded itoa v0.4.2
[INFO] [stderr]   Downloaded wincolor v1.0.0
[INFO] [stderr]   Downloaded aho-corasick v0.6.6
[INFO] [stderr]   Downloaded lock_api v0.1.3
[INFO] [stderr]   Downloaded serde_json v1.0.24
[INFO] [stderr]   Downloaded smallvec v0.6.4
[INFO] [stderr]   Downloaded version_check v0.1.4
[INFO] [stderr]   Downloaded schannel v0.1.13
[INFO] [stderr]   Downloaded tempfile v3.0.3
[INFO] [stderr]   Downloaded vcpkg v0.2.4
[INFO] [stderr]   Downloaded parking_lot v0.6.3
[INFO] [stderr]   Downloaded crossbeam-channel v0.2.4
[INFO] [stderr]   Downloaded arrayref v0.3.4
[INFO] [stderr]   Downloaded matches v0.1.7
[INFO] [stderr]   Downloaded regex v1.0.2
[INFO] [stderr]   Downloaded quote v0.6.5
[INFO] [stderr]   Downloaded termcolor v1.0.1
[INFO] [stderr]   Downloaded env_logger v0.5.12
[INFO] [stderr]   Downloaded proc-macro2 v0.4.9
[INFO] [stderr]   Downloaded serde v1.0.71
[INFO] [stderr]   Downloaded serde_derive v1.0.71
[INFO] [stderr]   Downloaded httparse v1.3.2
[INFO] [stderr]   Downloaded byteorder v1.2.4
[INFO] [stderr]   Downloaded log v0.4.3
[INFO] [stderr]   Downloaded cfg-if v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07ead42c357c4790b8d675f317d22713d11b4f2f7d1cf9721433d512b7d716fa
[INFO] running `Command { std: "docker" "start" "-a" "07ead42c357c4790b8d675f317d22713d11b4f2f7d1cf9721433d512b7d716fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07ead42c357c4790b8d675f317d22713d11b4f2f7d1cf9721433d512b7d716fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07ead42c357c4790b8d675f317d22713d11b4f2f7d1cf9721433d512b7d716fa", kill_on_drop: false }`
[INFO] [stdout] 07ead42c357c4790b8d675f317d22713d11b4f2f7d1cf9721433d512b7d716fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16920e2d5183e954ee6ca770045c9c90f49650243dad911e28d9240ba6257cb3
[INFO] running `Command { std: "docker" "start" "-a" "16920e2d5183e954ee6ca770045c9c90f49650243dad911e28d9240ba6257cb3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.43
[INFO] [stderr]    Compiling version_check v0.1.4
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling pkg-config v0.3.13
[INFO] [stderr]    Compiling cc v1.0.18
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling serde v1.0.71
[INFO] [stderr]    Compiling byteorder v1.2.4
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling matches v0.1.7
[INFO] [stderr]    Compiling openssl v0.10.11
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling arrayref v0.3.4
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]    Compiling native-tls v0.2.1
[INFO] [stderr]    Compiling smallvec v0.6.4
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling httparse v1.3.2
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling regex v1.0.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.7
[INFO] [stderr]    Compiling rand_core v0.2.1
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling regex-syntax v0.6.2
[INFO] [stderr]    Compiling block-buffer v0.3.3
[INFO] [stderr]    Compiling lock_api v0.1.3
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling aho-corasick v0.6.6
[INFO] [stderr]    Compiling quote v0.6.5
[INFO] [stderr]    Compiling bytes v0.4.9
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling winapi v0.3.5
[INFO] [stderr]    Compiling generic-array v0.9.0
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.35
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling digest v0.7.5
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.2.14
[INFO] [stderr]    Compiling sha-1 v0.7.0
[INFO] [stderr]    Compiling input_buffer v0.2.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.5.2
[INFO] [stderr]    Compiling syn v0.14.7
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling itoa v0.4.2
[INFO] [stderr]    Compiling parking_lot v0.6.3
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling base64 v0.9.2
[INFO] [stderr]    Compiling utf-8 v0.7.4
[INFO] [stderr]    Compiling termcolor v1.0.1
[INFO] [stderr]    Compiling dtoa v0.4.3
[INFO] [stderr]    Compiling crossbeam-channel v0.2.4
[INFO] [stderr]    Compiling url v1.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.71
[INFO] [stderr]    Compiling env_logger v0.5.12
[INFO] [stderr]    Compiling tungstenite v0.6.0
[INFO] [stderr]    Compiling toml v0.4.6
[INFO] [stderr]    Compiling serde_json v1.0.24
[INFO] [stderr]    Compiling keypress v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `winapi::shared`
[INFO] [stdout]  --> src/hook.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::{minwindef, ntdef, windef};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]    --> src/hook.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout] 163 |     use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]     |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/hook.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::{errhandlingapi, processthreadsapi, winbase, winuser};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/input.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::winuser;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/hook.rs:56:37
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut msg = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hook.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |     cb: Box<FnMut(Event)>,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 23 |     cb: Box<dyn FnMut(Event)>,
[INFO] [stdout]    |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/hook.rs:170:15
[INFO] [stdout]     |
[INFO] [stdout] 170 |     OsString::from_wide(&buf).to_string_lossy().to_string()
[INFO] [stdout]     |               ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `keypress` due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "16920e2d5183e954ee6ca770045c9c90f49650243dad911e28d9240ba6257cb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16920e2d5183e954ee6ca770045c9c90f49650243dad911e28d9240ba6257cb3", kill_on_drop: false }`
[INFO] [stdout] 16920e2d5183e954ee6ca770045c9c90f49650243dad911e28d9240ba6257cb3
